package com.woniuxy.builder;

/**
 * @Author: ideaAdmin
 * TODO:测试
 * Date: 2022/2/15:13:12
 * Description:
 */

public class Test {
    public static void main(String[] args) {
        Builder builder = new MacBookBuilder();
        Director pcDirector  = new Director(builder);

        pcDirector.construct("主板","显示器");


        Computer build = builder.build();
        System.out.println(build);
    }
}
